<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Документ без названия</title>
<style>
html {
	height: 100%;
}

body {
	margin: 0px;
	height: 100%;
	padding: 0px;
}

#page {
	min-height: 100%;
	margin: 0 auto;
	background-color: #FFF;
}

* html #page {
	height: 100%;
} /*  хак для IE */
#content {
	padding-bottom: 80px;
	background-color: #800;
	height: 600px;
}

#content2 {
	margin: 0 auto;
	width: 960px;
	background-color: #c90;
}

#footer {
	height: 80px;
	width: 100%;
	margin-top: -80px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-color: #00F;
}
</style>
</head>
<body>
	<div id="page">
		<div id="content">
			<div id="content2">Шапка, Контент и т.п.</div>
		</div>
	</div>
	<div id="footer">
		<div id="content2">Подвал</div>
	</div>
</body>
</html>